﻿@model dynamic

@{      
    int k = 0;
}
<input xtype="hidden" name="nIdeConvocatoria" id="nIdeConvocatoria" />
<table class="Reporte1" id="tbr">
    <thead>
        <tr>
            <th>#</th>        
            <th>Número</th>
            <th>Descripción</th>
            <th>Tipo Convocatoria</th>
            <th>Inicio Vigencia</th>
            <th>Fin Vigencia</th>
            <th>Sel.</th>   
        </tr>
    </thead>
    @{
        foreach (var item in Model)
        {
            k++;
             <tr>
                <td>@k</td>
                <td>@item.vClase-@item.nAnio-@String.Format("{0:0000}", @item.nNumeConvo)</td>
                <td>@item.vDescr</td>
                <td>@item.nIdeTipoConvo</td>
                <td>@String.Format("{0:dd/MM/yyyy}", item.dFecIniVig)</td>
            <td>@String.Format("{0:dd/MM/yyyy}", item.dFecFinVig)</td>
                 <td><input type="radio" value="@item.nIdeConvo" name="nIdeCon" id="nIdeCon" onclick="javascript: setIdConvocatoria(this);"/></td>
            </tr>
        }        
   }
</table>